﻿<%@ Page Language="C#" MasterPageFile="~/dangviet.Master" AutoEventWireup="true"
    CodeBehind="Category.aspx.cs" Inherits="SES.CMS.Category" Title="Untitled Page" %>

<%@ Register Src="Module/ucCategoryMenu.ascx" TagName="ucCategoryMenu" TagPrefix="uc1" %>
<%@ Register Src="Module/ucBreadcrumb.ascx" TagName="ucBreadcrumb" TagPrefix="uc5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="body-right">
        <uc5:ucBreadcrumb runat="server" ID="brc1" />
        <div class="article-wrap">
            <asp:Repeater ID="rptNews" runat="server">
                <ItemTemplate>
                    <div class="t-art-box">
                        <div class="t-art-img-wrap">
                            <a href='<%#"/Article/"+Eval("ArticleID")+"/"+FriendlyUrl(Eval("Title").ToString())%>'
                                title='<%#Eval("Title") %>'>
                                <img src='<%#"/Media/" + Eval("ImageUrl") %>' alt='<%#Eval("Title") %>' title='<%#Eval("Title") %>' />
                            </a>
                        </div>
                        <div class="t-art-title-wrap">
                            <h2 class="t-p-title">
                                <a href='<%#"/Article/"+Eval("ArticleID")+"/"+FriendlyUrl(Eval("Title").ToString())%>'
                                    title='<%#Eval("Title") %>'>
                                    <%#Eval("Title")%></a>
                            </h2>
                            <p class="t-p-des">
                                <%#WordCut(Eval("Description").ToString())%>
                            </p>
                            <p class="t-reamore">
                                 <a href='<%#"/Article/"+Eval("ArticleID")+"/"+FriendlyUrl(Eval("Title").ToString())%>'
                                    title='<%#Eval("Title") %>'>
                                    Xem tiếp »</a>
                            </p>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
            <div style="width: 100%; float: left; margin-top: 10px;">
                <div style="float: left;">
                    <asp:ImageButton ID="cmdPrev" Visible="false" OnClick="cmdPrev_Click" runat="server"
                        ImageUrl="~/images/prevpage.png" /></div>
                <div style="float: right;">
                    <asp:ImageButton ID="cmdNext" Visible="false" OnClick="cmdNext_Click" runat="server"
                        ImageUrl="~/images/nextpage.png" /></div>
            </div>
        </div>
    </div>
</asp:Content>
